<!doctype html>
<html>
<head>
	<meta charset="utf-8" />
	<title>Validation</title>
	<link rel="stylesheet" type="text/css"  href="../../../../kissy-dpl/base/build/css/dpl-pkg.css" />
	<script src="../../../build/kissy.js" charset="utf-8"></script>
	
	<link rel="stylesheet" type="text/css"  href="doc.css" /> <script src="doc.js" charset="utf-8"></script>
	<script type="text/javascript" src="../../../tools/utils/syntaxhighlighter_3.0.83/scripts/shCore.js"></script>
<script type="text/javascript" src="../../../tools/utils/syntaxhighlighter_3.0.83/scripts/shBrushJScript.js"></script>
<link type="text/css" rel="stylesheet" href="../../../tools/utils/syntaxhighlighter_3.0.83/styles/shCoreDefault.css"/>
<script type="text/javascript">SyntaxHighlighter.all();</script>


	
</head>
<body>

<!-- {{{ crumbs -->
<div class="crumbs">
    <span>当前位置：</span>
    <a href="home.html">Validation</a>
    <span>如何引用</span>
</div>
<!-- crumbs }}} -->


<div id="viewdemo" class="doc">

1.引入KISSY
<pre class='brush:javascript;'>
&lt;script src="http://a.tbcdn.cn/s/kissy/1.2.0/kissy.js"&gt;&lt;/script&gt;
</pre>


2.使用Validation
<pre class='brush:javascript;'>
	KISSY.use("validation",function(S,Validation){

		var form = new Validation('#J_form',{
			style:'under'
		});

	});
</pre>

</div>


</body>
</html>
